package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据供应商信息对象 dab_supplier
 *
 * @author ruoyi
 * @date 2023-06-21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "dab_supplier", excludeProperty = { "searchValue", "params" })
public class DabSupplier extends BaseEntity {

  /** $column.columnComment */
  @TableId(type = IdType.ASSIGN_ID)
  private Long sid;

  /** id */
  private String id;

  /** 名称 */
  @Excel(name = "名称")
  private String name;

  /** 公司地址 */
  @Excel(name = "公司地址")
  private String address;

  /** 联系人 */
  @Excel(name = "联系人")
  private String contacts;

  /** 联系电话 */
  @Excel(name = "联系电话 ")
  private String tel;

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("sid", getSid())
        .append("id", getId())
        .append("name", getName())
        .append("address", getAddress())
        .append("contacts", getContacts())
        .append("tel", getTel())
        .toString();
  }
}
